class AddIndexes < ActiveRecord::Migration
  def self.up
    add_index :reservations, [:id], :name => "idxReservationID", :unique => true
    add_index :feedbacks, [:id], :name => "idxFeedbackID", :unique => true
  end

  def self.down
    remove_index :reservations, :name => :idxReservationID
    remove_index :feedbacks, :name => :idxFeedbackID
  end
end
